<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control" name="row[user_id]" type="text" value="{$row.user_id}" readonly>
        </div>
    </div>
   <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat" class="form-control" name="row[wechat]" type="text" value="{$row.wechat}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Alipay')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-alipay" class="form-control" name="row[alipay]" type="text" value="{$row.alipay}">
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-realname" data-rule="required" class="form-control" name="row[realname]" type="text" value="{$row.realname}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Id_number')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-id_number" data-rule="required" class="form-control" name="row[id_number]" type="text" value="{$row.id_number}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Id_images')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<div class="input-group">-->
                <!--<input id="c-id_images" data-rule="" class="form-control" size="100" name="row[id_images]" type="text" value="{$row.id_images}" style="display: none">-->
                <!--<div class="input-group-addon no-border no-padding" style="display: none">-->
                    <!--<span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-id_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
                    <!--<span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-id_images" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
                <!--</div>-->
                <!--<span class="msg-box n-right" for="c-avatar"></span>-->
            <!--</div>-->
            <!--<ul class="row list-inline plupload-preview" id="p-avatar"></ul>-->
        <!--</div>-->

    <!--</div>-->


   <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_address" class="form-control" name="row[bank_address]" type="text" value="{$row.bank_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_card" class="form-control" name="row[bank_card]" type="text" value="{$row.bank_card}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_realname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_realname" class="form-control" name="row[bank_realname]" type="text" value="{$row.bank_realname}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">{:__('Audit_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-audit_reason" class="form-control" data-use-current="true" name="row[audit_reason]" type="text" rows="3">{$row.audit_reason}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Upload_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-upload_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[upload_time]" type="text" value="{$row.upload_time|datetime}">
        </div>
    </div>
    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">{:__('Audit_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-audit_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audit_time]" type="text" value="{$row.audit_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
